package com.coderg.gmall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.coderg.gmall.model.product.SpuImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description  spu图片
 * @Author CoderG
 * @Date 2025/5/16 0:09
 **/
@Mapper
public interface SpuImageMapper extends BaseMapper<SpuImage> {
    /**
     * 批量保存spu图片
     * @param spuImageList
     * @return
     */
    int saveSpuImages(@Param("spuImageList") List<SpuImage> spuImageList);
}
